Sets the binary value of an element.
public bool SetBinaryValue(
Leadtools.Dicom.DicomElement element,
byte[] value,
uint length
)
Public Overloads Function SetBinaryValue( _
ByVal element As Leadtools.Dicom.DicomElement, _
ByVal value() As Byte, _
ByVal length As UInteger _
) As Boolean
public bool SetBinaryValue(
Leadtools.Dicom.DicomElement element,
byte[] value,
uint length
)
function Leadtools.Dicom.DicomDataSet.SetBinaryValue(DicomElement,Byte[],UInt32)(
element ,
value ,
length
)
public:
bool SetBinaryValue(
Leadtools.Dicom.DicomElement^ element,
array<byte>^ value,
uint length
)
element
An item in the Data Set.
value
Pointer to a buffer that contains the binary value to set.
length
Value that represents the length, in bytes, of the buffer you allocated.
true if the binary value of the Data Element was set successfully. false if could not set the binary value of the Data Element.
This method overwrites the value of the Data Element. The Value Length of the Data Element is then equal to length.
SetBinaryValue(DicomElement,IntPtr,Int32) Method
SetStringValue(DicomElement,String,DicomCharacterSetType) Method
SetStringValue(DicomElement,String[],DicomCharacterSetType) Method
SetStringValue(DicomElement,String) Method
SetStringValue(DicomElement,String[]) Method
SetStringValuePtr(DicomElement,IntPtr,Int32) Method
SetStringValuePtr(DicomElement,IntPtr,UInt32,DicomCharacterSetType) Method
SetShortValue(DicomElement,Int16[],Int32) Method
SetIntValue(DicomElement,Int32[],Int32) Method
SetFloatValue(DicomElement,Single[],Int32) Method
SetDoubleValue(DicomElement,Double[],Int32) Method
SetDateValue(DicomElement,DicomDateValue[]) Method
SetTimeValue(DicomElement,DicomTimeValue[]) Method
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET